﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="propseal.aspx.cs" Inherits="SZCB.admin.FoodProp.propseal" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>食品销售商编辑</title>
    <link href="../sysImages/default/css/css.css" rel="stylesheet" type="text/css" />
    <script language="JavaScript" type="text/javascript" src="../configuration/js/Prototype.js"></script>
    <script language="JavaScript" type="text/javascript" src="../configuration/js/Public.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <table width="100%" border="0" cellpadding="0" cellspacing="0" class="toptable">
        <tr>
            <td width="57%" class="sysmain_navi" style="padding-left: 14px" height="30">
                食品销售商编辑
            </td>
            <td width="43%" class="topnavichar" style="padding-left: 14px">
                <div align="left">
                    位置导航：<a href="../admin.aspx" target="sys_main" class="list_link">首页</a><img alt=""
                        src="../sysImages/folder/navidot.gif" border="0" /><a href="prop.aspx" target="sys_main" class="list_link">食品属性编辑</a><img alt=""
                        src="../sysImages/folder/navidot.gif" border="0" />食品销售商编辑</div>
            </td>
        </tr>
    </table>
    <table style="width: 100%" border="0" cellpadding="5" cellspacing="1" class="Navitable">
        <tr>
            <td align="left" style="cursor: pointer;" id="TdAds">
                &nbsp;&nbsp;&nbsp;&nbsp;当前食品:<asp:Label ID="idFoodName" runat="server"
                    Text="Label"></asp:Label>
                &nbsp;：
                <asp:DropDownList ID="ddlContentClass" runat="server" OnSelectedIndexChanged="ddlContentClass_SelectedIndexChanged" AutoPostBack="true">
                </asp:DropDownList>
                 &nbsp;&nbsp;
                 <asp:TextBox ID="txtNutrient" runat="server"></asp:TextBox>
                 &nbsp;&nbsp;
                 &nbsp;&nbsp;
                 <asp:TextBox ID="txtUnit" runat="server"></asp:TextBox>单位
                 &nbsp;&nbsp;

                <asp:Button runat="server" ID="BtnSearch" Text="添加或编辑" CssClass="form" OnClick="BtnSearch_Click" />
                &nbsp;&nbsp;&nbsp;

            </td>
        </tr>
        <tr>
            <td>
            </td>
        </tr>
    </table>
    <table width="100%" border="0" cellpadding="0" cellspacing="0" align="center">
        <tr class="TR_BG_list">
            <td align="left" colspan="5">
                <div id="List">
                    <table width="98%" border="0" align="center" cellpadding="4" cellspacing="1" id="tablist"
                        class="table">
                        <tr class="TR_BG">
                            <td align="center" class="sysmain_navi">
                                营养名称
                            </td>
                            <td align="center" class="sysmain_navi">
                                营养含量(每百克)
                            </td>
                        </tr>
                        <asp:Repeater ID="RptData" runat="server">
                            <ItemTemplate>
                                <tr class="TR_BG_list" onmouseover="overColor(this)" onmouseout="outColor(this)">
                                    <td class="list_link">
                                        <%# DataBinder.Eval(Container.DataItem, "sSubtanceName")%>
                                    </td>
                                    <td class="list_link">
                                        <%# DataBinder.Eval(Container.DataItem, "fNutrient")%>(<%# DataBinder.Eval(Container.DataItem, "sUnit")%>)
                                    </td>
                                </tr>
                            </ItemTemplate>
                        </asp:Repeater>
                    </table>
                </div>
            </td>
        </tr>
        <tr class="TR_BG_list">
            <td align="left" colspan="5" align="center" style="padding-left: 40px;">
                <webdiyer:AspNetPager ID="returnDataPager" runat="server" CssClass="anpager" CurrentPageButtonClass="cpb"
                    CustomInfoHTML="共<span style=color:red>%PageCount%</span>页，当前为第<span style=color:red>%CurrentPageIndex%</span>页，每页<span style=color:red>%PageSize%</span>条，共<span style=color:red>%RecordCount%</span>条记录"
                    PageSize="10" ShowCustomInfoSection="Left" FirstPageText="首页" LastPageText="尾页"
                    AlwaysShow="true" NextPageText="后页" PrevPageText="前页" OnPageChanged="returnDataPager_PageChanged">
                </webdiyer:AspNetPager>
            </td>
        </tr>
    </table>
    <br />
    <table width="100%" border="0" cellpadding="8" cellspacing="0" class="copyright_bg"
        style="height: 76px" align="center">
        <tr>
            <td align="center">
                版权所有 Powered by <a href="#" target="_blank" class="a07">健康益佰分</a>
                &copy 2011-2020
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
